<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>北京鸿鑫国际集团有限公司</title>
    <link rel="stylesheet" href="../css/base.css"/>
    <link rel="stylesheet" href="../css/common.css"/>
    <link rel="stylesheet" href="../css/notice1.css"/>
    <script src="../js/jquery-1.7.2.js"></script>
    <link rel="shortcut icon" href="../images/favicon.ico">
    <script src="../js/artTemplate-3.0/template.js"></script>
    <script src="../js/page/laypage.js"></script>
    <script src="../js/page/page.js"></script>
    <script type="text/javascript">
	    var newscid = 603;
	    var pageSize = 10; // 定义每页显示n条数据
	    var curPage = 1; // 当前页码  默认1
	
	 	// 初始化函数
	    $(function() {
	    	var initFun = function() {
	    		dataList(curPage, newscid);
	    	}
	    	initFun();
	    });
	
	    function dataList(pageNo, newscid) {
	    	datagrid = $("#variety-content").datagrid({
	        	pageNo: pageNo,
	            pageSize: pageSize,
	            queryParams: "cid="+newscid,
	            url : "../../article/page.do", // 你请求的地址
	            pagination: "pagination",
	            scriptHtml: "variety-template",
	            table: "eTableRow",
	            isPagination: true
	        });
	    }
	    
	    function myClick(id){
	    	window.location.href = '../listPage/zhiduDetail.html?id='+id;
	    }
    </script>
</head>
<body>
<div id="xHeader"></div>
<div class="wrap2">
    <div class="content2">
        <div class="navList clearFix">
            <i></i>
            <p>当前位置：新闻中心 －> 集团新闻－> 公告公示</p>
        </div>
        <div class="container" style="position: relative;">
           <!--  <div class="dY clearFix">
                <a class="aShow" href="javascript:;">2016</a>
                <a href="javascript:;">2015</a>
                <a href="javascript:;">2014</a>
                <a href="javascript:;">2013</a>
            </div> -->
            <section>
				<div class="content" id="variety-content"></div>
			</section>
		    <script id="variety-template" type="text/html">
				<div class="dBOX">
                <ul>
					{{each list as value i}}
                    <li class="clearFix" onclick="javascript:myClick({{value.id}});">
						<p>>>> {{value.title}}</p>
                        <i>{{value.createTime}}</i>
                    </li>
                    {{/each}}
                </ul>
				</div>
			</script>
			<!-- 分页 -->
            <div style="text-align: center; bottom: 85px; position: absolute; width: 100%;" class="page" id="pagination"></div> 
            
        </div>
    </div>
</div>
<div id="xFooter"></div>
<script>
/* 引入头部 */
$.ajax({ url: "../listPage/xHeader.html",async: false,success: function(html){
		$("#xHeader").append(html);
}});
/* 引入底部 */
$.ajax({ url: "../listPage/xFooter.html",async: false,success: function(html){
    	$("#xFooter").append(html);
}});
</script>
</body>
</html>